package com.whfc.hj.entity;

import java.io.Serializable;

/**
 * @Description: 环境数据
 * @author: xugcheng
 * @version: 1.0
 * @date: 2020-12-08 9:24
 */
public class HjMsg implements Serializable {

    /**
     * 包头
     */
    private String head;

    /**
     * 数据段长度
     */
    private int dataLength;

    /**
     * 数据段
     */
    private String data;

    /**
     * crc校验(4)
     */
    private int crc;

    /**
     * 包尾
     */
    private String tail;

    /**
     * 请求编码:QN=YYYYMMDDhhmmsszzz
     */
    private String qn;

    /**
     * 系统编码
     */
    private String st;

    /**
     * 命令
     */
    private String cn;

    /**
     * 密码
     */
    private String pw;

    /**
     * 设备唯一编码
     */
    private String mn;

    /**
     * 拆分包及应答标志
     */
    private int flag;

    /**
     * 总包数 PNUM
     */
    private Integer pnum;

    /**
     * 包号 PNO
     */
    private Integer pno;

    /**
     * 指令参数
     */
    private String cp;

    /**
     * 数据时间，时间精确到秒 : DataTime=20151128151300;
     */
    private String dataTime;

    /**
     * 噪声实时数据
     */
    private String laRtd;

    /**
     * 噪声实时数据标记
     */
    private String laFlag;

    /**
     * 温度实时数据
     */
    private String a01001Rtd;

    /**
     * 温度实时数据标记
     */
    private String a01001Flag;

    /**
     * 湿度实时数据
     */
    private String a01002Rtd;

    /**
     * 湿度实时数据标记
     */
    private String a01002Flag;

    /**
     * 气压实时数据
     */
    private String a01006Rtd;

    /**
     * 气压实时数据标记
     */
    private String a01006Flag;

    /**
     * 风速实时数据
     */
    private String a01007Rtd;

    /**
     * 风速实时数据标记
     */
    private String a01007Flag;

    /**
     * 风向实时数据
     */
    private String a01008Rtd;

    /**
     * 风向实时数据标记
     */
    private String a01008Flag;

    /**
     * tsp实时数据
     */
    private String a34001Rtd;

    /**
     * tsp实时数据标记
     */
    private String a34001Flag;

    /**
     * pm10实时数据
     */
    private String a34002Rtd;

    /**
     * pm10实时数据标记
     */
    private String a34002Flag;

    /**
     * pm25实时数据
     */
    private String a34004Rtd;

    /**
     * pm25实时数据标记
     */
    private String a34004Flag;

    /**
     * 硬件ID
     */
    private Integer deviceId;

    public HjMsg() {
    }

    public HjMsg(String cn) {
        this.cn = cn;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public int getDataLength() {
        return dataLength;
    }

    public void setDataLength(int dataLength) {
        this.dataLength = dataLength;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public int getCrc() {
        return crc;
    }

    public void setCrc(int crc) {
        this.crc = crc;
    }

    public String getTail() {
        return tail;
    }

    public void setTail(String tail) {
        this.tail = tail;
    }

    public String getQn() {
        return qn;
    }

    public void setQn(String qn) {
        this.qn = qn;
    }

    public String getSt() {
        return st;
    }

    public void setSt(String st) {
        this.st = st;
    }

    public String getCn() {
        return cn;
    }

    public void setCn(String cn) {
        this.cn = cn;
    }

    public String getPw() {
        return pw;
    }

    public void setPw(String pw) {
        this.pw = pw;
    }

    public String getMn() {
        return mn;
    }

    public void setMn(String mn) {
        this.mn = mn;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public Integer getPnum() {
        return pnum;
    }

    public void setPnum(Integer pnum) {
        this.pnum = pnum;
    }

    public Integer getPno() {
        return pno;
    }

    public void setPno(Integer pno) {
        this.pno = pno;
    }

    public String getCp() {
        return cp;
    }

    public void setCp(String cp) {
        this.cp = cp;
    }

    public String getDataTime() {
        return dataTime;
    }

    public void setDataTime(String dataTime) {
        this.dataTime = dataTime;
    }

    public String getLaRtd() {
        return laRtd;
    }

    public void setLaRtd(String laRtd) {
        this.laRtd = laRtd;
    }

    public String getLaFlag() {
        return laFlag;
    }

    public void setLaFlag(String laFlag) {
        this.laFlag = laFlag;
    }

    public String getA01001Rtd() {
        return a01001Rtd;
    }

    public void setA01001Rtd(String a01001Rtd) {
        this.a01001Rtd = a01001Rtd;
    }

    public String getA01001Flag() {
        return a01001Flag;
    }

    public void setA01001Flag(String a01001Flag) {
        this.a01001Flag = a01001Flag;
    }

    public String getA01002Rtd() {
        return a01002Rtd;
    }

    public void setA01002Rtd(String a01002Rtd) {
        this.a01002Rtd = a01002Rtd;
    }

    public String getA01002Flag() {
        return a01002Flag;
    }

    public void setA01002Flag(String a01002Flag) {
        this.a01002Flag = a01002Flag;
    }

    public String getA01006Rtd() {
        return a01006Rtd;
    }

    public void setA01006Rtd(String a01006Rtd) {
        this.a01006Rtd = a01006Rtd;
    }

    public String getA01006Flag() {
        return a01006Flag;
    }

    public void setA01006Flag(String a01006Flag) {
        this.a01006Flag = a01006Flag;
    }

    public String getA01007Rtd() {
        return a01007Rtd;
    }

    public void setA01007Rtd(String a01007Rtd) {
        this.a01007Rtd = a01007Rtd;
    }

    public String getA01007Flag() {
        return a01007Flag;
    }

    public void setA01007Flag(String a01007Flag) {
        this.a01007Flag = a01007Flag;
    }

    public String getA01008Rtd() {
        return a01008Rtd;
    }

    public void setA01008Rtd(String a01008Rtd) {
        this.a01008Rtd = a01008Rtd;
    }

    public String getA01008Flag() {
        return a01008Flag;
    }

    public void setA01008Flag(String a01008Flag) {
        this.a01008Flag = a01008Flag;
    }

    public String getA34001Rtd() {
        return a34001Rtd;
    }

    public void setA34001Rtd(String a34001Rtd) {
        this.a34001Rtd = a34001Rtd;
    }

    public String getA34001Flag() {
        return a34001Flag;
    }

    public void setA34001Flag(String a34001Flag) {
        this.a34001Flag = a34001Flag;
    }

    public String getA34002Rtd() {
        return a34002Rtd;
    }

    public void setA34002Rtd(String a34002Rtd) {
        this.a34002Rtd = a34002Rtd;
    }

    public String getA34002Flag() {
        return a34002Flag;
    }

    public void setA34002Flag(String a34002Flag) {
        this.a34002Flag = a34002Flag;
    }

    public String getA34004Rtd() {
        return a34004Rtd;
    }

    public void setA34004Rtd(String a34004Rtd) {
        this.a34004Rtd = a34004Rtd;
    }

    public String getA34004Flag() {
        return a34004Flag;
    }

    public void setA34004Flag(String a34004Flag) {
        this.a34004Flag = a34004Flag;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }
}
